<!DOCTYPE html>
<html>
<head>
	<title>ajax</title>
	<script src="ajax.js"></script>
</head>
<body>

</body>
<script type="text/javascript">
	
ajax({
	data: {user: 'user'},
	success: function(data) {
		console.log(data);
	}
});

</script>
</html>